package org.goodprinciples.oracolo.model;

import org.goodprinciples.commons.bean.GoodPrinciplesBean;
import org.goodprinciples.commons.bean.TrackableBean;
import org.goodprinciples.commons.bean.VersionableBean;

/**
 *
 * @author Francesco Conte
 */
public abstract class OracoloBean<T extends GoodPrinciplesBean> extends TrackableBean<T> 
    implements VersionableBean<Long>, GoodPrinciplesBean {
    
    private Long version = null;
    private Long readVersion = null;

    @Override
    public Long getVersion() {
        return version;
    }

    @Override
    public void setVersion(Long version) {
        this.version = version;
    }

    @Override
    public Long getReadVersion() {
        return readVersion;
    }

    @Override
    public void setReadVersion(Long readVersion) {
        this.readVersion = readVersion;
    }
    
}
